Change Xen image name from 'image' to 'xen', 'image.gz' to 'xen.gz'.
Change XenoLinux image name from 'image' to 'xenolinux', 'image.gz' to 'xenolinux.gz'.
akw27@plucky.localdomain
bd240@boulderdash.cl.cam.ac.uk
bd240@labyrinth.cl.cam.ac.uk
+br260@laudney.cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk
iap10@striker.cl.cam.ac.uk
gzip -f -9 < $(TARGET) > $(TARGET).gz
debug:
- objdump -D -S image >image.s
+ objdump -D -S $(TARGET) > $(TARGET).s
install: $(TARGET)
gzip -f -9 < $(TARGET) > $(TARGET).gz
find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
find $(SUBDIRS) -name '*.[ch]' | xargs etags -a
MAP:
- nm image | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
+ nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map
-
ARCH := i386
-TARGET := $(BASEDIR)/image
+TARGET := $(BASEDIR)/xen
HDRS := $(wildcard $(BASEDIR)/include/xeno/*.h)
HDRS += $(wildcard $(BASEDIR)/include/scsi/*.h)
HDRS += $(wildcard $(BASEDIR)/include/hypervisor-ifs/*.h)
.PHONY: bzImage compressed clean archclean archmrproper archdep
bzImage: vmlinux
- @$(MAKEBOOT) image.gz
+ @$(MAKEBOOT) xenolinux.gz
install: bzImage
mkdir -p ../install/boot
- cp -a arch/$(ARCH)/boot/image.gz ../install/boot/xenolinux.gz
+ cp -a arch/$(ARCH)/boot/xenolinux.gz ../install/boot/xenolinux.gz
archclean:
@$(MAKEBOOT) clean
# arch/xeno/boot/Makefile
#
-image.gz: image
+xenolinux.gz: xenolinux
gzip -f -9 < $< > $@
-image: $(TOPDIR)/vmlinux
+xenolinux: $(TOPDIR)/vmlinux
# Guest OS header -- first 8 bytes are identifier 'XenoGues'.
echo -e -n 'XenoGues' >$@
# Guest OS header -- next 4 bytes are load address (0xC0000000).
echo -e -n '\000\000\000\300' >>$@
- $(OBJCOPY) $< image.body
+ $(OBJCOPY) $< xenolinux.body
# Guest OS header is immediately followed by raw OS image.
# Start address must be at byte 0.
- cat image.body >>$@
- rm -f image.body
+ cat xenolinux.body >>$@
+ rm -f xenolinux.body
dep:
clean:
- rm -f image image.gz
+ rm -f xenolinux xenolinux.gz
\ No newline at end of file